package org.willthink.service.member.impl;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

import org.willthink.dao.member.MemberDAO;
import org.willthink.service.member.MemberService;

public class MemberServiceImpl implements MemberService{

	private MemberDAO dao;
	
	public void setDao(MemberDAO dao) {
		this.dao = dao;
	}

	@Override
	public Map<String, String> getMemberInfo(String memberId)
			throws SQLException {
		
		return dao.getMemberInfo(memberId);
	}

	@Override
	public List<Map<String, String>> getMemberList() throws SQLException {
		return dao.getMemberList();
	}

	@Override
	public Map<String, String> memberLogin(Map<String, String> map)
			throws SQLException {
		return dao.memberLogin(map);
	}
}
